bitkeeper revision 1.1389.3.1 (42714dabVSywx2XWGjgw2J54ZylwYg)
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 28 Apr 2005 20:55:07 +0000 (20:55 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 28 Apr 2005 20:55:07 +0000 (20:55 +0000)
commite1f6877b5384bd2bee9437849bdcfe5ecb605629
treefdfb183bacb2a2be35e12d49782be9526a962177
parent0dfa4d0545c213840bced14daf700496ae31d308
bitkeeper revision 1.1389.3.1 (42714dabVSywx2XWGjgw2J54ZylwYg)

Ensure block/yield hypercalls always return a sane return code.

Ensure callers of __enter_scheduler take appropriate arch-specific
action if no context switch occurs (callers from arch/x86 do not
expect to return from a call into the scheduler).

This fixes wildly unintuitive behaviour of do_block() for the
VMX team.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/ia64/xenmisc.c
xen/arch/x86/domain.c
xen/arch/x86/x86_32/entry.S
xen/arch/x86/x86_64/entry.S
xen/common/schedule.c
xen/include/xen/sched.h